/**
 * 
 */
package com.sunwayhorizo.health.business.dto.clinic.emr.document;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName EmrWriterDTO <br>
 * @PackageName com.sunwayhorizo.health.business.dto.clinic.emr.document <br>
 * @Description 病历书写DTO<br>
 * @Author jinzw <br>
 * @Date 2011-03-10 <br>
 * @Version 1.0 <br>
 * @ModifiedDesc <br>
 * @ModifiedDate <br>
 * @ModifiedBy <br>
 * @Copyright 2010-2020 北京三维海容 All Rights Reserved. <br>
 */
public class EmrWriterDTO implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3144882776048689838L;

	/**
	 *主键 ID
	 */
	private String id;
	
	/**
	 * 患者rim角色ID  personId
	 */
	private String patientRoleId;
	
	/**
	 * 住院次数
	 */
	private String patientNum;
	/**
	 * 病历版本号
	 * （病历序号）
	 */
	private String versionNum;

	/**
	 *病历文件 名称
	 */
	private String name;

	/**
	 *病历分类角色ID
	 */
	private String rimRoleEmrWriterClassId;
	
	/**
	 * 文书类型分类代码（值取自于模板分类代码）
	 */
	private String classCode;
	
	/**
	 * 文书类型分类监控代码（值取自于模板监控代码）
	 */
	private String templateCode;
	
	/**
	 * 住院医师签名
	 */
	private String empRoleId;
	
	/**
	 * 住院医师签字时间
	 */
	private String lowSignatureDate;
	
	/**
	 * 上级医师签名
	 */
	private String higherSignature;
	
	/**
	 * 上级医师签名时间
	 */
	private String higherSignatureDate;
	
	/**
	 * 主任签名
	 */
	private String directorSignature;
	
	/**
	 * 主任签字时间
	 */
	private String directorSignatureDate;
	
	/**
	 *
	 * 病历文件内容
	 * 			 
	 * */
	private byte [] contents;
	
	/**
	 * 书写状态
     * 1 占用 2 空闲（前台控制）
	 */
	private String writeState;
	
	/**
	 * 病历状态
		0 实习医生书写 
		1 书写 
		2 住院医生签字 
		3 上级医生签名 
		4 主任医生签名
	 */
	private String signature;
	
	/**
	 * 入院记录宏元素（主诉，现病史，既往史，系统回顾，个人史，婚育史，月经史，家族史）
	 * json格式
	 */
	private String macroContents;
	
	/**
	 * 创建人
	 */
	private String createdBy;
	
	/**
	 * 创建人显示名称
	 */
	private String createByName;
	
	/**
	 * 创建时间
	 */	
	private String creationDate;
	
	/**
	 * 修改人员
	 */
	private String lastUpdateBy;
	
	/**
	 * 修改时间
	 */
	private String lastUpdateDate;
	
	/**
	 * 病程标题时间（入院记录书写时间）
	 */
	private String medProDate;
	
	/**
	 * 病历修改次数
	 */
	private EmrModifyLogDTO emrModifyLog;
	
	
	/**
	 * 病历诊断集合
	 */
	private List<EmrDiagnosisDTO > emrDiagnosisList = new ArrayList<EmrDiagnosisDTO>();
	
	/**
	 * 会诊单号
	 */
	private String consultationId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPatientRoleId() {
		return patientRoleId;
	}

	public void setPatientRoleId(String patientRoleId) {
		this.patientRoleId = patientRoleId;
	}

	public String getPatientNum() {
		return patientNum;
	}

	public void setPatientNum(String patientNum) {
		this.patientNum = patientNum;
	}

	public String getVersionNum() {
		return versionNum;
	}

	public void setVersionNum(String versionNum) {
		this.versionNum = versionNum;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRimRoleEmrWriterClassId() {
		return rimRoleEmrWriterClassId;
	}

	public void setRimRoleEmrWriterClassId(String rimRoleEmrWriterClassId) {
		this.rimRoleEmrWriterClassId = rimRoleEmrWriterClassId;
	}

	public String getClassCode() {
		return classCode;
	}

	public void setClassCode(String classCode) {
		this.classCode = classCode;
	}

	public String getEmpRoleId() {
		return empRoleId;
	}

	public void setEmpRoleId(String empRoleId) {
		this.empRoleId = empRoleId;
	}

	public String getLowSignatureDate() {
		return lowSignatureDate;
	}

	public void setLowSignatureDate(String lowSignatureDate) {
		this.lowSignatureDate = lowSignatureDate;
	}

	public String getHigherSignature() {
		return higherSignature;
	}

	public void setHigherSignature(String higherSignature) {
		this.higherSignature = higherSignature;
	}

	public String getHigherSignatureDate() {
		return higherSignatureDate;
	}

	public void setHigherSignatureDate(String higherSignatureDate) {
		this.higherSignatureDate = higherSignatureDate;
	}

	public String getDirectorSignature() {
		return directorSignature;
	}

	public void setDirectorSignature(String directorSignature) {
		this.directorSignature = directorSignature;
	}

	public String getDirectorSignatureDate() {
		return directorSignatureDate;
	}

	public void setDirectorSignatureDate(String directorSignatureDate) {
		this.directorSignatureDate = directorSignatureDate;
	}

	public byte[] getContents() {
		return contents;
	}

	public void setContents(byte[] contents) {
		this.contents = contents;
	}

	public String getWriteState() {
		return writeState;
	}

	public void setWriteState(String writeState) {
		this.writeState = writeState;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public String getMacroContents() {
		return macroContents;
	}

	public void setMacroContents(String macroContents) {
		this.macroContents = macroContents;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(String creationDate) {
		this.creationDate = creationDate;
	}

	public String getLastUpdateBy() {
		return lastUpdateBy;
	}

	public void setLastUpdateBy(String lastUpdateBy) {
		this.lastUpdateBy = lastUpdateBy;
	}

	public String getLastUpdateDate() {
		return lastUpdateDate;
	}

	public void setLastUpdateDate(String lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}

	public EmrModifyLogDTO getEmrModifyLog()
    {
        return emrModifyLog;
    }

    public void setEmrModifyLog(EmrModifyLogDTO emrModifyLog)
    {
        this.emrModifyLog = emrModifyLog;
    }

	public List<EmrDiagnosisDTO> getEmrDiagnosisList() {
		return emrDiagnosisList;
	}

	public void setEmrDiagnosisList(List<EmrDiagnosisDTO> emrDiagnosisList) {
		this.emrDiagnosisList = emrDiagnosisList;
	}

	public String getCreateByName() {
		return createByName;
	}

	public void setCreateByName(String createByName) {
		this.createByName = createByName;
	}

	public String getTemplateCode() {
		return templateCode;
	}

	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}

	public String getMedProDate() {
		return medProDate;
	}

	public void setMedProDate(String medProDate) {
		this.medProDate = medProDate;
	}

    public String getConsultationId()
    {
        return consultationId;
    }

    public void setConsultationId(String consultationId)
    {
        this.consultationId = consultationId;
    }


	
}
